home *** CD-ROM | disk | FTP | other *** search
- head 1.3;
- branch ;
- access ;
- symbols ;
- locks ; strict;
- comment @ * @;
-
-
- 1.3
- date 89.11.09.12.44.01; author mendel; state Exp;
- branches ;
- next 1.2;
-
- 1.2
- date 89.06.19.14.28.44; author jhh; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 88.08.05.16.14.14; author ouster; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
- 1.3
- log
- @*** empty log message ***
- @
- text
- @/*
- * mach.c --
- *
- * This file contains machine-dependent information needed by
- * the ps program.
- *
- * Copyright 1988 Regents of the University of California
- * Permission to use, copy, modify, and distribute this
- * software and its documentation for any purpose and without
- * fee is hereby granted, provided that the above copyright
- * notice appear in all copies. The University of California
- * makes no representations about the suitability of this
- * software for any purpose. It is provided "as is" without
- * express or implied warranty.
- */
-
- #ifndef lint
- static char rcsid[] = "$Header: /sprite/src/cmds/ps/ds3100.md/RCS/mach.c,v 1.2 89/11/09 12:12:41 douglis Exp Locker: mendel $ SPRITE (Berkeley)";
- #endif not lint
-
-
- /*
- *----------------------------------------------------------------------
- *
- * getTicksPerSecond --
- *
- * Return one second's worth of timer ticks for the current machine.
- * This is needed by ps to deal with weighted usages.
- *
- * Results:
- * One second's worth of timer ticks.
- *
- * Side effects:
- * None.
- *
- *----------------------------------------------------------------------
- */
-
- int
- getTicksPerSecond()
- {
- return 1000;
- }
- @
-
-
- 1.2
- log
- @added include of timer.h
- @
- text
- @d18 1
- a18 1
- static char rcsid[] = "$Header: mach.c,v 1.1 88/08/05 16:14:14 ouster Exp $ SPRITE (Berkeley)";
- d21 1
- a21 1
-
- d23 14
- a36 2
- * One second's worth of timer ticks; needed to deal with weighted
- * usages.
- d39 5
- a43 1
- unsigned int timer_IntOneSecond = 1000;
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d18 1
- a18 1
- static char rcsid[] = "$Header: proto.c,v 1.2 88/03/11 08:39:08 ouster Exp $ SPRITE (Berkeley)";
- a20 1
- #include <kernel/timer.h>
- @
-